package com.fairisanddog.mapper;


import com.fairisanddog.entity.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsersMapper {

    int addUser(@Param("users") Users users);

    int deleteUserById(int uId);

    int alterUser(@Param("users") Users users);

    Users queryUserById(int uId);

    List<Users> queryAllUsers();

    Users queryUsersByNameAndPwd(@Param("uName")String uName,@Param("uPwd")String uPwd);


}
